﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ExcelSystem.Model
{
    public class Material : BaseProperty
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]

        /// <summary>
        /// 自增长
        /// </summary>
        public int ID { get; set; }

        /// <summary>
        /// 订单编码
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 订单行
        /// </summary>
        public string OrderLine { get; set; }
        /// <summary>
        /// 合同号
        /// </summary>
        public string ContractNo { get; set; }
        /// <summary>
        /// BOM层次
        /// </summary>
        public string BOMLevel { get; set; }

        /// <summary>
        /// 订单物料编码
        /// </summary>
        public string MaterialNo { get; set; }
        /// <summary>
        /// 物料描述
        /// </summary>
        public string MaterialDescribe { get; set; }

        /// <summary>
        /// 原材料
        /// </summary>
        public string RawMaterials { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public decimal? Number { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 采购类型参数
        /// </summary>
        public string ProcurementTypePar { get; set; }

        /// <summary>
        /// 生产参数
        /// </summary>
        public string ProductionPar { get; set; }
        /// <summary>
        /// 颜色
        /// </summary>
        public string Color { get; set; }

        /// <summary>
        /// 长度
        /// </summary>
        public string L { get; set; }

        /// <summary>
        /// 唛头尺寸
        /// </summary>
        public string MarkSize { get; set; }

        /// <summary>
        /// 净重

        /// </summary>
        public decimal? NetWeight { get; set; }

        /// <summary>
        /// 毛重

        /// </summary>
        public decimal? GrossWeight { get; set; }

        /// <summary>
        /// 箱号
        /// </summary>
        public string BoxNumner { get; set; }

        /// <summary>
        /// 箱名
        /// </summary>
        public string BoxName { get; set; }



        /// <summary>
        /// 方向
        /// </summary>
        public string Direction { get; set; }
        /// <summary>
        /// 物料规格
        /// </summary>
        public string MaterialSpecifications { get; set; }
        /// <summary>
        /// BOM规格
        /// </summary>
        public string BOMSpecifications { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }


    }
}
